package com.jeasonzhao.commons.xml;

public interface IXMLBridge
{
    public void write(XMLNode node
                      ,java.io.OutputStream stream
                      ,String strEncoding
                      ,boolean showWholeXMLDocuments
                      ,boolean isCompatMode
        )
        throws XMLException;

    public XMLNode read(java.io.InputStream stream)
        throws XMLException;

    public XMLNode read(String xml)
        throws XMLException;
}
